<template>
  <el-card style="width: 400px;margin: 0 auto">
    <el-form :model="form" label-width="100px">
      <el-form-item label="用户名">
        <el-input  disabled v-model="form.userName" autocomplete="off"></el-input>
      </el-form-item>
      <el-form-item label="手机号">
        <el-input disabled v-model="form.userTelephone" autocomplete="off"></el-input>
      </el-form-item>
      <el-form-item label="邮箱">
        <el-input disabled v-model="form.userMail" autocomplete="off"></el-input>
      </el-form-item>

    </el-form>
  </el-card>
</template>

<script>
export default {
  name: "UserInfo",
  data() {
    return {
      form: {},
    }
  },
  created() {
    // console.log(sessionStorage.getItem("userInfo"))
    this.form = JSON.parse(sessionStorage.getItem("userInfo"));
  }
}
</script>

<style scoped>

</style>